<?php
/**
 * Created by Command.
 * User: Vito
 */

namespace app\admin\curd\room_lease_record;

use app\common\curd\Update;

class RoomLeaseRecordUpdate extends Update
{
    //验证器
    protected $validate = [];
    //允许新增的数据字段
    protected $field = [];
    //获取对象时追加的字段
    protected $appendField = [];
    //排除的数据
    protected $exclude = [];
    //条件
    protected $where = [];

    // protected $saveMiddleware = ['saveMiddleware', 'saveMiddlewared'];
    
    // 方法
    // protected function saveMiddlewared($next){

    //     $params = $this->request->put();
        
    //     $res['room_id'] = $params['room_id'];
    //     // halt($room_id);
    //     return $next($res);
    // }
}